<?php
/**
 * 订单异常
 * Author: zengdeshun
 * Date 2018-6-21 19:51:18
 */
namespace app\common\exception;

class Image extends Base
{
    const E_SUCCESS = '27000';
    const E_DEFAULT = '27001';// 默认订单异常
    const E_EXT_NOT_MATCH = '27002';
    const E_MINE_NOT_MATCH = '27003';
    const E_SIZE_NOT_MATCH = '27004';

    public static $messageList = [
        self::E_DEFAULT   => '图片上传成功',
        self::E_SUCCESS => '图片上传失败',
        self::E_EXT_NOT_MATCH => '图片后缀名不正确',
        self::E_MINE_NOT_MATCH => '图片类型不正确',
        self::E_SIZE_NOT_MATCH => '图片大小在5M以下',
    ];
}